<!DOCTYPE html>
<head>
<?php include_once VIEWS.'inc/head.php'; ?>
</head>

<body>
	<div id="back-top"></div>
    <?php include_once VIEWS.'inc/header.php'; ?>
		<?php include_once VIEWS.'inc/right.php'; ?>
	
	<div class="w1680 intro-banner shadow2">
		
		<img src="<?php echo UPLOAD_URL.tag_photo(tag_single(17,"photo"));?>">
		
	</div>

	<div class="w1680 intro-first shadow bc">
		<div class="w1190 intro-top">
			<div class="fl intro-top-left">
				<div class="en-title">ABOUT US</div>
				<div class="ch-title">公司概括</div>
			</div>

			<div class="fr intro-top-right">
				<a href="<?php echo site_url('about/intro'); ?>"><div class="fl intro-about act">公司概括</div></a>
				<a href="<?php echo site_url('about/contact'); ?>"><div class="fl intro-contact">联系我们</div></a>
			</div>
		</div>
	</div>

	<div class="w1680 intro-second shadow">
		<div class="w1190 intro-main">
			<div class="fl intro-left" style="background:url(<?php echo static_file('web/img/about-imgbox-bg.png'); ?>) no-repeat top left;">
				<img src="<?php echo UPLOAD_URL.tag_photo(tag_single(2,"photo"));?>" style="">
			</div>
			<div class="fr intro-right">
				<div class="intro-title">COMPANY PROFILE</div>
				<div class="line"></div>
				<div id="aaa" style="height: 340px; overflow: hidden;">
					<div class="intro-text">
					<?php echo tag_single(2); ?>
					</div>
				</div>
				<div class="intro-control">
					<div class="fl intro-up" id="up"></div>
					<div class="fl intro-down" id="down"></div>
					<div class="fr intro-line"></div>
				</div>
			</div>
		</div>
		<div class="w1190 intro-sup">
			<div class="fl intro-frame1"></div>
			<div class="fl intro-frame2"></div>
			<div class="fl intro-frame3"></div>
			<div class="fl intro-frame4"></div>
		</div>
	</div>
	
	<div class="intro-back"></div>

    <?php include_once VIEWS.'inc/footer.php'; ?>
<?php
	echo static_file('web/js/main.js');
?>
</body>
</html>
<script type="text/javascript">
 
$(function(){  
	$("#up").click(function() {
		var mt=parseInt($(".intro-text").css("margin-top"));
		var h=parseInt($(".intro-text").css("height"));
		if (mt<0) {
			$(".intro-text").animate({marginTop:(mt+100)+'px'}, 300);
		}
  	})
	$("#down").click(function() {
		
		var mt=parseInt($(".intro-text").css("margin-top"));
		var h=parseInt($(".intro-text").css("height"));
		
		if(mt<=0 && mt>(200-h)){
			$(".intro-text").animate({marginTop:(mt-100)+'px'}, 300);
		}
  	})
}) 
</script>

